package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;

import java.util.Date;
import java.util.List;

import static org.jsola.core.example.BaseExample.E_GMT_CREATE;
import static org.jsola.core.example.BaseExample.E_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.E_ID;
import static org.jsola.core.example.BaseExample.N_GMT_CREATE;
import static org.jsola.core.example.BaseExample.N_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.N_ID;
import static org.jsola.hr.example.NewsInfoExample.*;

/**
 * 官网信息的类型
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【官网信息的类型】列表展示对象")
@Data
public class NewsInfoListVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = N_ID, example = E_ID)
    private String id;

    @ApiModelProperty(notes = N_BROWSE_NUM, example = E_BROWSE_NUM)
    private Integer browseNum;

    @ApiModelProperty(notes = N_NEWS_TYPE_ID, example = E_NEWS_TYPE_ID)
    private String newsTypeId;

    @ApiModelProperty(notes = N_TITLE, example = E_TITLE)
    private String title;

    @ApiModelProperty(notes = N_CONTENT, example = E_CONTENT)
    private String content;

    @ApiModelProperty(notes = N_CONTENT_HAS_STYLE, example = E_CONTENT_HAS_STYLE)
    private String contentHasStyle;

    @ApiModelProperty(notes = N_TO_URL, example = E_TO_URL)
    private String toUrl;

    @ApiModelProperty(notes = N_IS_PUSH, example = E_IS_PUSH)
    private Boolean isPush;

    @ApiModelProperty(notes = N_PUSH_DATE, example = E_PUSH_DATE)
    private Date pushDate;

    @ApiModelProperty(notes = N_PUSH_USER_ID, example = E_PUSH_USER_ID)
    private String pushUserId;

    @ApiModelProperty(notes = N_PUSH_USER_NAME, example = E_PUSH_USER_NAME)
    private String pushUserName;

    @ApiModelProperty(notes = N_GMT_CREATE, example = E_GMT_CREATE)
    private Date gmtCreate;

    @ApiModelProperty(notes = N_GMT_MODIFIED, example = E_GMT_MODIFIED)
    private Date gmtModified;

    @ApiModelProperty(notes = N_GROUP_CODE, example = E_GROUP_CODE)
    private String groupCode;

    @ApiModelProperty(notes = N_NEWS_FILE_UPDATE_DTO_LIST, example = E_NEWS_FILE_UPDATE_DTO_LIST)
    private List<NewsFileListVO> newsFileListVO;
}

